<%@ page language="java" isELIgnored="false" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<jsp:directive.include file="/WEB-INF/sitemesh-decorators/include.jsp"/>
<fmt:setBundle basename="bundles.facultyresearch-resources"/>
<div id="mainBody">
    <!-- InstanceBeginEditable name="main" -->
  	<div class="title">Student </div>
    <div id="search">
        <div id="searchBox">
            <form method="post" action="search.html">
            <textarea id="searchTerm" name="searchTerm" rows="1"></textarea><button id="goButton">GO</button><button id="advancedSearch">AS</button>
            </form>
        </div>
    </div>
  	<div id="body">
  		<div id="table">
        	<div class="header">
                <div>nNumber</div>
                <div>First Name</div>
                <div>Last Name</div>
                <div>Email</div>
                <div>Graduated</div>
                <div>Major</div>
            </div>
            <c:forEach items="${students}" var="student">
            <div class="row">
            	<div><a href="editStudent.html?id=${ student.studentId}">${ student.nnumber}</a></div>
                <div>${student.firstName }</div>
                <div>${student.lastName }</div>
                <div>${student.email }</div>
                <div>${student.graduated }</div>
                <div>${student.major }</div>
            </div>
            </c:forEach>
        </div>
    </div>
  </div>